package cn.jinjimi.app.entity;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

/**
 * 节日贺卡列表
 * Created by Administrator on 2015/5/19.
 */
public class CardListBean extends BaseResponse {
    @SerializedName("greeting_cards")
    private List<CardBean> greetingCards;
    private Links links;
    @SerializedName("greeting_card")
    private CardBean greetingCard;  // 单个贺卡详情信息
    @SerializedName("during_time")
    private int restDays;
    @SerializedName("start_time")
    private long startTime;
    @SerializedName("end_time")
    private long endTime;
    @SerializedName("holiday_id")
    private int holidayId;
    @SerializedName("holiday_name")
    private String holidayName;


    public Links getLinks() {
        return links;
    }

    public void setLinks(Links links) {
        this.links = links;
    }

    public List<CardBean> getGreetingCards() {
        return greetingCards;
    }

    public void setGreetingCards(List<CardBean> greeting_cards) {
        this.greetingCards = greeting_cards;
    }

    public CardBean getGreetingCard() {
        return greetingCard;
    }

    public void setGreetingCard(CardBean greeting_card) {
        this.greetingCard = greeting_card;
    }

    public int getRestDays() {
        return restDays;
    }

    public void setRestDays(int restDays) {
        this.restDays = restDays;
    }

    public long getStartTime() {
        return startTime;
    }

    public void setStartTime(long startTime) {
        this.startTime = startTime;
    }

    public long getEndTime() {
        return endTime;
    }

    public void setEndTime(long endTime) {
        this.endTime = endTime;
    }

    public int getHolidayId() {
        return holidayId;
    }

    public void setHolidayId(int holidayId) {
        this.holidayId = holidayId;
    }

    public String getHolidayName() {
        return holidayName;
    }

    public void setHolidayName(String holidayName) {
        this.holidayName = holidayName;
    }

    public static class CardBean implements Serializable {
        private static final long serialVersionUID = 1L;
        @SerializedName("id")
        private int id;
        @SerializedName("name")
        private String name;
        @SerializedName("cover_url")
        private String coverUrl;
        @SerializedName("image_url")
        private String imageUrl;
        @SerializedName("icon_url")
        private String iconUrl;
        @SerializedName("holiday_id")
        private int holidayId;
        @SerializedName("content_color")
        private String contentColor;//	内容字体颜色
        @SerializedName("receiver_color")
        private String receiverColor;//接受者字体颜色
        @SerializedName("sender_color")
        private String senderColor;//发送者字体颜色
        @SerializedName("style")
        private String style;
        @SerializedName("default_blessing")
        private String defaultBlessing;

        public String getStyle() {
            return style;
        }

        public void setStyle(String style) {
            this.style = style;
        }

        public String getDefaultBlessing() {
            return defaultBlessing;
        }

        public void setDefaultBlessing(String default_blessing) {
            this.defaultBlessing = default_blessing;
        }

        public String getCoverUrl() {
            return coverUrl;
        }

        public void setCoverUrl(String cover_url) {
            this.coverUrl = cover_url;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getImageUrl() {
            return imageUrl;
        }

        public void setImageUrl(String imageUrl) {
            this.imageUrl = imageUrl;
        }

        public String getIconUrl() {
            return iconUrl;
        }

        public void setIconUrl(String icon_url) {
            this.iconUrl = icon_url;
        }

        public int getHolidayId() {
            return holidayId;
        }

        public void setHolidayId(int holiday_id) {
            this.holidayId = holiday_id;
        }

        public String getContentColor() {
            return contentColor;
        }

        public void setContentColor(String content_color) {
            this.contentColor = content_color;
        }

        public String getReceiverColor() {
            return receiverColor;
        }

        public void setReceiverColor(String receiver_color) {
            this.receiverColor = receiver_color;
        }

        public String getSenderColor() {
            return senderColor;
        }

        public void setSenderColor(String sender_color) {
            this.senderColor = sender_color;
        }
    }

    public class Links {
        private String next;
        private String prev;

        public String getNext() {
            return next;
        }

        public void setNext(String next) {
            this.next = next;
        }

        public String getPrev() {
            return prev;
        }

        public void setPrev(String prev) {
            this.prev = prev;
        }
    }
}
